#pragma once
#include <vector>
#include <string>
//#include <windows.h>
#ifdef LIB_EXPORTS
#define LIB_API __declspec(dllexport)
#else
#define LIB_API __declspec(dllimport)
#endif


typedef struct _TCLineInfo
{
    std::vector vgray;
    int tpos;
    int cpos;
} TCLineInfo;


extern "C" LIB_API int CreateDetector();


extern "C" LIB_API int DetTCLine(int detid,const std::vector &in_jpg, std::vector *tcline_infos, std::vector *out_jpg);


extern "C" LIB_API int ReleaseDetector(int detid);